package com.mediacloud.app.newsmodule.view.adapter

import android.content.Context
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.graphics.drawable.BitmapDrawable
import android.widget.ImageView
import android.widget.TextView
import com.bumptech.glide.Glide
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import com.lzf.easyfloat.utils.DisplayUtils

import com.mediacloud.app.newsmodule.R

/**
 * @author Heaven Created on 2022/6/13
 */
class CardAdapter: BaseQuickAdapter<String, BaseViewHolder>(R.layout.item_card_share) {

    override fun convert(helper: BaseViewHolder, item: String?) {
        val view = helper.getView<TextView>(R.id.content)
        view.text = item
    }

}